import * as NS from '../NetServices';
import { Config } from '../../Config';
import { T_Cart } from '../Entitys';
import { IsNull } from '../../TYLibrary/Common/GlobalExtend';
import { Log } from '../../TYLibrary/System/Logger';
import { Wx_Page } from '../EntityBase';


export class Wx_XSPPage extends Wx_Page {

    async AddCart(GoodsNo: string, Count: number, SkuId: number) {
        await NS.AddToCart(GoodsNo, Count, SkuId);
    }
    async DeleteCart(CartId: number) {
        await NS.DeleteCart(CartId);
    }
    
}